package com.org.beauty.salon.utils;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author : zhangyanbin
 * @date : 2020/8/26 14:04
 */
@Data
@NoArgsConstructor
public class Status {

    private Integer code;
    private String desc;

    public Status(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public static Status generate(Integer code, String desc) {
        return new Status(code, desc);
    }

}
